package com.laoxu.springboot.service;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;

@Service
public class ScheduledService {
    @Scheduled(cron = "0-5 * * * * *")
    public void hello(){
        System.out.println("hello...");
    }
}
